home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 11184 < prev    next >
Encoding:
Text File  |  1996-08-05  |  3.5 KB  |  88 lines

  1. Path: news.mindspring.com!usenet
  2. From: rudd@mindspring.com (Justin Rudd)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: First Big One
  5. Date: Wed, 13 Mar 1996 02:42:54 GMT
  6. Organization: MindSpring Enterprises
  7. Message-ID: <4i5cud$n4p@firebrick.mindspring.com>
  8. References: <4i4oa4$ga9@nova.umuc.edu>
  9. Reply-To: rudd@mindspring.com
  10. NNTP-Posting-Host: rudd.mindspring.com
  11. X-Newsreader: Forte Free Agent v0.55
  12.  
  13. [snip]
  14.  
  15. >Im finnishing up the second of a 2 semester intro to c++ and
  16. >programming.  I have a rudimentry knowledge of classes.  Im confident
  17. >I can write the number crunching, but as a lowly student I don't
  18. >if it is practical for me to try to solve the following problems.
  19. >Are the following things in reach, Im willing to do some reading
  20. >( so please direct me:))
  21.  
  22. Anything is within in reach as long as you don't give up.  One bit of
  23. advice:  Extend your knowledge of classes over the next couple of
  24. months ( I am assuming when you say summer you mean like May or June
  25. ).  They will be your most important "tool".
  26.  
  27. >1. Putting the program on disk and having it store data on
  28. >   another disk.  The program has to run without the user
  29. >   having to compile and link it, the way a prof application would.
  30.  
  31. Any good compiler should create an executable so that is no problem.
  32.  
  33. >2. making special colors/graphics to give the program a special
  34. >   look.
  35.  
  36. Sure...but I'll tell you straight up...Graphics is some of the most
  37. tedious work you'll ever do.  I _HATE_ GUIs.  But considering that is
  38. what people look at do a good one.
  39.  
  40. Anyway...as for doing them....Borland's Turbo C++ has some pretty nice
  41. ( very plain but nice ) graphics, and they are easy to learn.
  42.  
  43. >3. having the data stored in a data base.  Should I wait until I
  44. >   have a data base class?  Can I build the crunching now in c++
  45. >   and hook up the program to a database program in another language?
  46. >   I just don't know how these things are done.
  47.  
  48. If you know how to do a link list or a hash table you could write this
  49. yourself.  It would be great experience.  Anyway..you can always set
  50. up tables later and build in the data access later.  But to be honest
  51. this is a design issue.  
  52.  
  53. >4. having that data printable and deliminated by page so reports
  54. >   can be printed out.
  55.  
  56. This can be done...will probably take you some time.
  57.  
  58. Printing to me is like graphics...boring and tedious but has to be
  59. done.  I suggest you get a report generator and then just have your
  60. program print those reports.
  61.  
  62. >5. an error control mechanism that would allow the user to reenter
  63. >   faulty data.  Right now, all I can do is shut the program down.
  64.  
  65. You can build error-checking into the program where it checks the
  66. format and tells the user whether or not it is correct.  The way I
  67. used to do it is kinda cheat ;-).  What you do is have them enter all
  68. the data and then hit a hot key that does all the calculations, etc.
  69. Like I said they won't get instant updates of what they are typing but
  70. it is a good way to start if you are a beginner.
  71.  
  72. >Anything else a starting student might not be aware of trying to
  73. >write a serious program.
  74.  
  75. Hm....probably the most important.  If you don't know how to do it:
  76. ASK...if you don't get an answer KEEP ASKING.  Because it basically
  77. destroys the trust you have built up with your employer if you have to
  78. say " Sorry I have to delay your program by about 3 months because I
  79. don't know how to do this yet"  Most of the employers I've worked for
  80. don't care.  They just won't their product.  I know I have asked for
  81. help several times on things that seemed hard but ended up being
  82. simple.
  83.  
  84. Well good luck...
  85.  
  86. Justin
  87.  
  88.